package hero.mps.web.school_course.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

@Data
@NoArgsConstructor
@Builder
@AllArgsConstructor
@TableName("school_course")
public class SchoolCourse {
    @TableId(type = IdType.AUTO)
    /**
     * 课程id
     */
    private Integer courseId;

    /**
     * 课程名称
     */
    private String courseName;

    /**
     * 备注
     */
    private String courseDesc;

    @TableField(exist = false)
    private Integer teacherId;

    @TableField(exist = false)
    private String teacherName;
}
